package com.sg.business.commons.labelprovider.work;

import org.eclipse.jface.viewers.ColumnLabelProvider;

import com.sg.business.model.AbstractWork;

public class MeasurementLabel extends ColumnLabelProvider {


	public MeasurementLabel() {
	}

	@Override
	public String getText(Object element) {
		if (element instanceof AbstractWork) {
			AbstractWork work = (AbstractWork) element;
			return work.getMeasurementText();
		}
		return "";
	}
}
